<?php
	session_start();
	header("Cache-Control: no-store, no-cache, must-revalidate");
	$valorcodigo=$_GET['codigobuscar'];
        $valorbuscado=array("/"," ");
        $valorsustitu=array("D","S");
        $codigoimg=str_replace($valorbuscado,$valorsustitu,$valorcodigo);
        echo "  ".$codigoimg;
        if (!file_exists("./img/art/".$codigoimg.".jpg"))
        {  $codigoimg="nodisponible";}
?>
<HTML>
<HEAD>
<TITLE>Imagen codigo = <?php echo $valorcodigo;?></TITLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="css/style.css">
</HEAD>
<BODY>

<TABLE border=0 cellspacing="0" cellpadding="0" width="100%" align="center">

<tr>
        <td>
        <div align="center"><!--<img src="img/art/<?php echo $codigoimg;?>.jpg" width="300" height="240">--><img src="img/art/<?php echo $codigoimg;?>.jpg" border="0"></div>
      	</td>
</tr>
</TABLE>
</BODY>
</HTML>


